﻿using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Text;

namespace PeiYue.Model.Dto.Purchase
{
    public class SigninDto
    {
        /// <summary>
        /// 供应商编号
        /// </summary>
        public string SupplierCode { get; set; }
        /// <summary>
        /// 供应商名称
        /// </summary>
        public string SupplierName { get; set; }
    }
    public class SigninRequestDto
    {
        /// <summary>
        /// 经度
        /// </summary>
        public decimal Lon { get; set; }
        /// <summary>
        /// 纬度
        /// </summary>
        public decimal Lat { get; set; }
        /// <summary>
        /// 地址
        /// </summary>
        public string Address { get; set; }
    }
    public class SigninResponseDto
    {
        /// <summary>
        /// 经度
        /// </summary>
        public decimal Lon { get; set; }
        /// <summary>
        /// 纬度
        /// </summary>
        public decimal Lat { get; set; }
        /// <summary>
        /// 地址
        /// </summary>
        public string Address { get; set; }
        /// <summary>
        /// 签到时间
        /// </summary>
        [JsonConverter(typeof(DateTimeFormat))]
        public DateTime SigninDate { get; set; }
    }
}
